package chances.wechat.model;

import java.util.Date;

public class WechatUser implements java.io.Serializable {

	private static final long serialVersionUID = 7542129782574673114L;
	public static final Integer ENABLE_STATUS = 1;
	public static final Integer DISABLE_STATUS = 0;
	public static final Integer FROM_MOBILE = 5;
	public static final Integer FROM_WEIXIN = 1;
	public static final Integer FROM_SCAN = 2;
	public static final Integer FROM_OTHER = 3;
	private String birthday;


	private Long id;
	private String nickname;
	private Date subTime;
	private Date unsubTime;
	private Integer sex;
	private String city;
	private String location;
	private String unionId;
	private String avator;
	private Integer fromFlag;
	private String currentStbNo;
	private String icon;
	private Integer status = ENABLE_STATUS;
	private String lang;
	private String openId;
	private Date createTime;

	public WechatUser() {
		super();
		this.icon = "user_icon.png";

	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Date getSubTime() {
		return subTime;
	}

	public void setSubTime(Date subTime) {
		this.subTime = subTime;
	}

	public Date getUnsubTime() {
		return unsubTime;
	}

	public void setUnsubTime(Date unsubTime) {
		this.unsubTime = unsubTime;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	public String getAvator() {
		return avator;
	}

	public void setAvator(String avator) {
		this.avator = avator;
	}

	public Integer getFromFlag() {
		return fromFlag;
	}

	public void setFromFlag(Integer fromFlag) {
		this.fromFlag = fromFlag;
	}

	public String getCurrentStbNo() {
		return currentStbNo;
	}

	public void setCurrentStbNo(String currentStbNo) {
		this.currentStbNo = currentStbNo;
	}

	public String getStbNo() {
		return currentStbNo;
	}

	public void setStbNo(String currentStbNo) {
		this.currentStbNo = currentStbNo;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getLang() {
		return lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
}
